<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath() + "/";
%>
<!DOCTYPE HTML>
<html>
<head>
    <link rel="stylesheet" type="text/css" href="/static/backstage/H-ui/static/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="/static/backstage/H-ui/static/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="/static/backstage/H-ui/lib/Hui-iconfont/1.0.8/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="/static/backstage/H-ui/static/h-ui.admin/skin/red/skin.css"/>
    <link rel="stylesheet" type="text/css" href="/static/backstage/H-ui/static/h-ui.admin/css/style.css"/>
    <title>后台管理系统</title>
</head>
<body>
<header class="navbar-wrapper">
    <div class="navbar navbar-fixed-top" style="background: #19a97b;">
        <div class="container-fluid cl">
            <a class="logo navbar-logo f-l mr-10 hidden-xs" href="/backstage/welcome">后台管理系统</a>

            <nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
                <ul class="cl">
                    <li>超级管理员</li>
                    <li class="dropDown dropDown_hover">
                        <a href="#" class="dropDown_A">
                            ${sessionScope.sessionUser.username}
                            <i class="Hui-iconfont">&#xe6d5;</i>
                        </a>
                        <ul class="dropDown-menu menu radius box-shadow">
                            <li><a href="#">个人信息</a></li>
                            <li><a id="logout">安全退出</a></li>
                        </ul>
                    </li>
                    <li style="width: 100px;"></li>
                </ul>
            </nav>
        </div>
    </div>
</header>

<aside class="Hui-aside">
    <div class="menu_dropdown bk_2">
        <dl>
            <dt>
                <i class="Hui-iconfont">&#xe62d;</i>
                管理员管理
                <i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
            </dt>
            <dd>
                <ul>
                    <li><a data-href="/backstage/user/list" data-title="管理员列表">管理员列表</a></li>
                </ul>
            </dd>
        </dl>
        <dl>
            <dt>
                <i class="Hui-iconfont">&#xe620;</i>
                菜单管理
                <i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
            </dt>
            <dd>
                <ul>
                    <li><a data-href="/backstage/menu/max/list" data-title="菜单列表">菜单列表</a></li>
                </ul>
            </dd>
        </dl>
        <dl>
            <dt>
                <i class="Hui-iconfont">&#xe622;</i>
                文章管理
                <i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
            </dt>
            <dd>
                <ul>
                    <li><a data-href="/backstage/info/list" data-title="文章列表">文章列表</a></li>
                </ul>
            </dd>
        </dl>
    </div>
</aside>

<div class="dislpayArrow hidden-xs">
    <a class="pngfix" onClick="displaynavbar(this)"></a>
</div>

<section class="Hui-article-box">
    <div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
        <div class="Hui-tabNav-wp">
            <ul id="min_title_list" class="acrossTab cl">
                <li class="active">
                    <span title="我的桌面" data-href="/backstage/welcome">我的桌面</span>
                    <em></em>
                </li>
            </ul>
        </div>
    </div>

    <div id="iframe_box" class="Hui-article">
        <div class="show_iframe">
            <div style="display:none" class="loading"></div>
            <iframe src="/backstage/welcome"
                    id="iframe-welcome" data-scrolltop="0" scrolling="yes" frameborder="0"></iframe>
        </div>
    </div>
</section>


<script type="text/javascript" src="/static/backstage/H-ui/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="/static/backstage/H-ui/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="/static/backstage/H-ui/static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="/static/backstage/H-ui/static/h-ui.admin/js/H-ui.admin.js"></script>
<script type="text/javascript" src="/static/backstage/H-ui/lib/jquery.contextmenu/jquery.contextmenu.r2.js"></script>

<script>
    $(function () {
        // 退出登录
        $("#logout").click(function () {
            layer.confirm('确认要退出吗？', function () {
                window.location.href = "/backstage/logout";
            });
        });
    });
</script>
</body>
</html>
